#ifndef BOOSTHASHWRAPPER_H_JM_20120826
#define BOOSTHASHWRAPPER_H_JM_20120826

#include "Hash.h"
#include <boost/functional/hash.hpp>

namespace jm4bbx {
	template<class T>
	class BoostHashWrapper : public Hash<T> {
	public:
		virtual size_t operator()(T val) const override {
			boost::hash<T> hash;
			return hash(val);
		}
	};	
} // namespace jm4bbx

#endif
